#!/bin/bash
# Exp Parity
# Pull argument
if [ -z "$2" ]; then 	# See if number of runs specified
	echo "Run once by default"
	nrun=1
else
    nrun=$2
	echo "Number of runs: "$nrun
fi	
if [ -z "$1" ]; then 	# -n tests to see if the argument is non empty
	echo "Please specify the problem preix"
else
    # define expnames
    exp1=$1.0515
    exp2=$1.0516
    exp3=$1.0525
    exp4=$1.0526
    # Run all experiments
    ./runpar.sh $exp1 $nrun
    ./runpar.sh $exp2 $nrun
    ./runpar.sh $exp3 $nrun
    ./runpar.sh $exp4 $nrun
fi
#
